package com.ffcs.crmd.tsp.api.dto.page;

import java.io.Serializable;
import java.util.Collection;

import com.thoughtworks.xstream.annotations.XStreamAliasType;

@XStreamAliasType("RetVo")
public class RetVo<T> implements Serializable {
    
    private static final long serialVersionUID = 1L;
    
    private Object            object;
    
    private Collection<T>     dataList;
    
    private PageInfo<T>       pageInfo;
    
    /**
     * 功能说明: 获取object
     *
     * @return object object
     */
    public Object getObject() {
        return object;
    }
    
    /**
     * 功能说明: 设置object
     *
     * @param object object 
     */
    public void setObject(Object object) {
        this.object = object;
    }
    
    /**
     * 功能说明: 获取dataList
     *
     * @return dataList dataList
     */
    public Collection<T> getDataList() {
        return dataList;
    }
    
    /**
     * 功能说明: 设置dataList
     *
     * @param dataList dataList 
     */
    public void setDataList(Collection<T> dataList) {
        this.dataList = dataList;
    }
    
    /**
     * 功能说明: 获取pageInfo
     *
     * @return pageInfo pageInfo
     */
    public PageInfo<T> getPageInfo() {
        return pageInfo;
    }
    
    /**
     * 功能说明: 设置pageInfo
     *
     * @param pageInfo pageInfo 
     */
    public void setPageInfo(PageInfo<T> pageInfo) {
        this.pageInfo = pageInfo;
    }
    
}
